﻿
Public Class CustomerBIZ
    Private cusDAO As CutusmerDAO

    Public Sub New()
        cusDAO = New CutusmerDAO
    End Sub
    Public Function GetData() As List(Of CustumersDTO)
        Return cusDAO.GetData()
    End Function
    Public Function InsertUpdateCustomer(ByVal cusDTO As CustumersDTO, ByVal f As Boolean)
        Return cusDAO.InsertUpdateCustomer(cusDTO, f)
    End Function
    Public Function DeleteCustumer(ByVal cusDTO As CustumersDTO)
        Return cusDAO.DeleteCustumer(cusDTO)
    End Function
End Class
